
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon dbm d-icon-shu"></i>
                    <div class="name">树</div>
                    <div class="fontclass">.d-icon-shu</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-40"></i>
                    <div class="name">筛选</div>
                    <div class="fontclass">.d-icon-40</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-msnui-404"></i>
                    <div class="name">404错误</div>
                    <div class="fontclass">.d-icon-msnui-404</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-xuexi"></i>
                    <div class="name">学习</div>
                    <div class="fontclass">.d-icon-xuexi</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-8"></i>
                    <div class="name">refresh</div>
                    <div class="fontclass">.d-icon-8</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-download"></i>
                    <div class="name">download</div>
                    <div class="fontclass">.d-icon-download</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-filter"></i>
                    <div class="name">filter</div>
                    <div class="fontclass">.d-icon-filter</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-403"></i>
                    <div class="name">403</div>
                    <div class="fontclass">.d-icon-403</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-tubiao"></i>
                    <div class="name">图表</div>
                    <div class="fontclass">.d-icon-tubiao</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-qiapian"></i>
                    <div class="name">卡片</div>
                    <div class="fontclass">.d-icon-qiapian</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.d-icon-close</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-previewleft"></i>
                    <div class="name">arrow-left</div>
                    <div class="fontclass">.d-icon-previewleft</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-previewright"></i>
                    <div class="name">arrow-right</div>
                    <div class="fontclass">.d-icon-previewright</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-quanxian"></i>
                    <div class="name">权限</div>
                    <div class="fontclass">.d-icon-quanxian</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-3501shuju"></i>
                    <div class="name">data</div>
                    <div class="fontclass">.d-icon-3501shuju</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-username"></i>
                    <div class="name">username</div>
                    <div class="fontclass">.d-icon-username</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-delete"></i>
                    <div class="name">delete</div>
                    <div class="fontclass">.d-icon-delete</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-password"></i>
                    <div class="name">Password</div>
                    <div class="fontclass">.d-icon-password</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-liebiao"></i>
                    <div class="name">列表</div>
                    <div class="fontclass">.d-icon-liebiao</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-zujian"></i>
                    <div class="name">组件</div>
                    <div class="fontclass">.d-icon-zujian</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-download1"></i>
                    <div class="name">download</div>
                    <div class="fontclass">.d-icon-download1</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-27CIRCLE"></i>
                    <div class="name">add</div>
                    <div class="fontclass">.d-icon-27CIRCLE</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-biaoge"></i>
                    <div class="name">表格</div>
                    <div class="fontclass">.d-icon-biaoge</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-layout"></i>
                    <div class="name">layout</div>
                    <div class="fontclass">.d-icon-layout</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-downarrow"></i>
                    <div class="name">113 down arrow</div>
                    <div class="fontclass">.d-icon-downarrow</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-icon_seelog_fill"></i>
                    <div class="name">icon_seelog_fill</div>
                    <div class="fontclass">.d-icon-icon_seelog_fill</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-yanshi"></i>
                    <div class="name">演示</div>
                    <div class="fontclass">.d-icon-yanshi</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-arrow-double-right-o"></i>
                    <div class="name">arrow-double-right-o</div>
                    <div class="fontclass">.d-icon-arrow-double-right-o</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-arrow-double-left-o"></i>
                    <div class="name">arrow-double-left-o</div>
                    <div class="fontclass">.d-icon-arrow-double-left-o</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-error"></i>
                    <div class="name">error</div>
                    <div class="fontclass">.d-icon-error</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-tongzhi"></i>
                    <div class="name">通知</div>
                    <div class="fontclass">.d-icon-tongzhi</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-gengduo"></i>
                    <div class="name">更多</div>
                    <div class="fontclass">.d-icon-gengduo</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-filter1"></i>
                    <div class="name">filter</div>
                    <div class="fontclass">.d-icon-filter1</div>
                </li>
            
                <li>
                <i class="icon dbm d-icon-test"></i>
                    <div class="name">test</div>
                    <div class="fontclass">.d-icon-test</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">dbm</span> <span class="hljs-selector-tag">d-icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"dbm"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
